@echo off

REM Create virtual environment (if not exists)
if not exist "venv" (
    echo Creating virtual environment...
    python -m venv venv
)

REM Activate virtual environment
echo Activating virtual environment...
call venv\Scripts\activate

REM Install dependencies
echo Installing dependencies...
pip install -r requirements.txt

REM Start FastAPI application
echo Starting FastAPI application...
uvicorn main:app --reload --host 0.0.0.0 --port 8000